package com.xxl.job.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author xuxueli 2018-10-28 00:38:13
 */
//@SpringBootApplication
//public class XxlJobAdminApplication {
//
//	public static void main(String[] args) {
//        SpringApplication.run(XxlJobAdminApplication.class, args);
//	}
//
//}
@SpringBootApplication
public class XxlJobAdminApplication extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(XxlJobAdminApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(XxlJobAdminApplication.class, args);
    }
}